約 4,191,450 件
https://w.atwiki.jp/linuxjapanwiki/pages/93.html
Debian GNU/Linux
https://w.atwiki.jp/wikiprune/
みんなで動作確認、報告しましょう。 オールエイ/AL-USBPS2 AINEX/ADV-108A ARVEL/AU01PS・PSG ARVEL/AU02PS・PSG ATEN/UC-10KM ATEN/UC-100KMA AUDIO TECHNICA/ATC-USBPS2 BUFFALO/BHC-UP201/GP CENTURY/PS2W-USB COMON/USB-6 COMON/USB-62 COREGA/CG-USBKM COREGA/CG-USBKMSV2 COREGA/CG-USBKMS DHARMAPOINT/DRKBCN DCS/UB101 DIGITALSTREAM/DS068001A-DG DIGITALSTREAM/PS/2 to USB Active Adapter ELECOM/USB-P2KM EZ-Digix/CB-PS2toUSB FILCO/FKB100 FILCO/FKB110 FORYOU/FUX-PS2 FORYOU/FUX-PS2/B GROOVY/GR-PS2USB/B HL USB to PS/2 JUSTY/UGC-PS2 ネットメカニズム/UPS-12C ネットメカニズム/USB-PS2-CVT NB/CG-USB/PS2 NB/PH-U125? NB/HL-0002A? P.I. Engineering/Y-mouse Keyboard & Mouse Adapter for USB? RARITAN/APSUSB Rextron/KNCU20 Route-R/RC-U2MK Route-R/RC-U3MK SANWA SUPPLY/USB-CVPS1 SANWA SUPPLY/USB-CVPS2 SIGMA APO/PS2USB2PBK SIGMA APO/PS2USB1PBK SNE/SNE-PS2USB すまいる/SA-USB2PS? すまいる/SA-BAR2? TFTEC JAPAN/USB-PS2 TRIPP LITE/B015-000 WELCOM DESIGN/U305Y WELCOM DESIGN/U305M6 参考になるサイト集
https://w.atwiki.jp/kazushige/pages/11.html
基本 aptitude update aptitude upgrade モジュールの更新 aptitude search モジュール名 aptitude install モジュール名 aptitude remove モジュール名 インストール済みのパッケージを確認するのはdpkg -l sudo aptitude install sudo visudoで最下行に 「hogehogeALL=(ALL) ALL」 というようにsudo実行を許可するユーザを作成する。 ※時刻調整後にsudoを行おうとして、 「sudo timestamp too far in the future」 というエラーが出てくるようになったら、 touch /var/run/sudo/* をおこって、/var/run/sudo配下にあるsudoユーザのディレクトリの タイムスタンプをアップデートしてやればよい。 debconfのやり直し dpkg-reconfigure パッケージ 細かい設定を行いたい場合は dpkg-reconfigure -plow パッケージ 参考:http //ukai.jp/debuan/2001w/debconf.txt ssh導入~webmin ssh導入 sudo aptitude update sudo aptitude install ssh ssh -l ログインユーザ名 IPアドレス wget http //prdownloads.sourceforge.net/webadmin/webmin_1.360_all.deb dpkg -i webmin_1.360_all.deb NTP sudo aptitude install ntp ntpdate ntp-doc ntp-simple NTPサーバにアクセスできず手動で時計合わせをする場合は sudo date MMDDhhmmss のように指定。 参考:http //kinsan.main.jp/wiki/wiki.cgi?page=Linux%A4%C7%BB%FE%B7%D7%A4%CE%B9%E7%A4%EF%A4%BB%CA%FD apache sudo aptitude install apache samba sudo aptitude install samba sudo aptitude install swat ※swatインストール時に自動的に/etc/inetd.confが修正され、リスタートされる。 共有ディレクトリを作成しておく。(chmod 755) passwordのタブで、sambaで使うユーザ追加(smbpasswdと同じ) sharesのタブで、共有ディレクトリのパスを記述 path=/home/family/work read only=no 参考:http //linux.webseason.net/samba/ apache2 PHP5 sudo aptitude install apache2 ※apache1を過去にインストールしていたりすると、インストール後自動的にapache2が起動しない(?) 原因は、/etc/default/apache2 の中が NO_START=1 になっているから。 このままでは起動できないので、0に書きかえて、 /etc/init.d/apache2 start (/etc/init.d/apache2 restart でも良し) webページを表示すると、「it works」と表示。 まずは、/etc/apache2/apache2.conf を編集 LanguagePriorityをja(日本語)を最優先に変更。 cd /etc/apache2/sites-available/ cp -p default hoge (defaultは編集せずに、cpしたhogeを編集し、最終的にa2ensiteコマンドで有効化) sudo vi hoge AllowOverride None → AllowOverride All (.htaccessファイルによるディレクトリごとのアクセス制御を可能にする) RedirectMatch ^/$ /apache2-default/ → #RedirectMatch ^/$ /apache2-default/ ServerSignature On → ServerSignature Off (セキュリティ上) a2dissite default a2ensite hoge /etc/init.d/apache2 restart webページを表示すると、ディレクトリツリー表示 ※過去にapache1をインストールしていると、debianでのapacheのデフォルトページが表示。 sudo aptitude install libapache2-mod-php5 php5-gd php5-mcrypt PHPのインストール状況を確認するには、コンテンツに「 ? phpinfo() ? 」と書いた phpinfo.phpというテキストファイルを作成して、/var/wwwに保存してください。 ブラウザで「phpinfo.php」にアクセスすることで、PHPのインストール状況を確認することができます。 参考: http //takafam.com/pclog/2007/02/debianapache2.html http //golgotha.xrea.jp/archives/2005/12/debian_sarge_ap.html mysql sudo aptitude install mysql-server-5.0 php5-mysql phpmyadmin sudo vi /etc/php5/apache2/php.ini extension=mysql.so extension=gd.so の行頭のコメントアウト(;)を削除 mysql.trace_mode = OffをOnに変更 (※↑これはIEでxoopsのインストールをしようとした場合に 途中で止まってしまうことへの対処と考えられる。Mac(safari)では不要だった。) sudo cp /etc/phpmyadmin/config.inc.php /etc/phpmyadmin/config.inc.php.default sudo vi /etc/phpmyadmin/config.inc.php mysqladmin -u root password "yourpassword" でパスワード設定 http //-----/phpmyadmin で先ほど設定したパスワードでrootでログイン adduser xoopsであらかじめxoopsユーザを作っておく。 データベース新規作成:xoops_db ※注意:データベース作成の際には照合順序(文字コードのこと)を「ujis_japanese_ci」に変更するのを忘れない。 mysql5.0のデフォルトはUTF-8だが、xoopsはeucなので一部表示が文字化けしてしまう。 ユーザ追加:xoops_user グローバル特権は与えず、xoops_dbへのアクセス権限のみ付与 xoopsのhtmlフォルダの中身のファイルをアップロード(sftp、xoopsユーザで) chmod 777 uploads cache templates_c chmod 666 mainfile.php あとは http //-----/xoops でインストールウィザードに従って設定を行う。 http //support.sakura.ad.jp/support/manual/rs/xoop_man.shtml http //ma2mura.blog3.fc2.com/blog-entry-116.html /etc/init.d/mysql restart HDDの増設 (1)「dmesg」コマンドを実行して,増設したHDDのモデル名があることを確認 dmesg | grep hdc (増設したHDDがブートプロセスで認識されているかどうか確認。メーカ名が出ていればOK) (2)fdiskコマンドでLinuxファイルシステム(ext2)を作成する fdisk /dev/hdc pコマンドで現在のパーティション(無し)を確認 nコマンドで新パーティション作成(primaryでNo.1) pコマンドで作成したパーティション(1つ)を確認 wコマンドで書き込み終了 (3)パーティションをフォーマットする mkfs -t ext3 /dev/hdc1 (4)マウントするディレクトリを作成する mkdir /mnt/hdc mount /dev/hdc1 /mnt/hdc ls /mnt/hdc (5)再起動後も自動マウントできるようにする /dev/hdc1 /mnt/hdc ext3 defaults 1 3 最後の2つの数字は、 (1つ目) バックアップコマンド(dump)の対象とするか (2つ目) fsckによるファイルシステムチェックの順番(既に1,2が使われていたので3になった。) (6)一旦umountし、再起動後に自動マウントできているかを確認 mount (←現在のマウントポイント確認のため) umount /mnt/hdc mount (←現在のマウントポイント確認のため) shutdown -r now 参考:http //www.itmedia.co.jp/help/tips/linux/l0112.html http //www.thinkit.co.jp/free/compare/5/5/
https://w.atwiki.jp/linuxjapanwiki/pages/59.html
現在、LinuxJapanWikiはatwikiから Miraheze に移行中です。このページは2021年9月17日にMirahezeに移行しました。最新の情報は Mirahezeのページ で確認してください。 NNLinux ▲NNLinuxのロゴ NNLinuxは、 Debian および Ubuntu をベースに日本で開発されているLinuxディストリビューションである。 「NN」の名前の由来は 野々村竜太郎元兵庫県議 から。 ▲デスクトップ画面(Beta9) 各種データ 開発者 竹林人間3g+◢ 系統 Debian系 開発状況 開発中 初版 2019年4月29日 最新版 Beta10 (Debian 10 "buster" ベース) / 2020年5月3日 アップデート方式 APT パッケージ管理 dpkg カーネル Linux デスクトップ環境 Xfce , LXDE , GNOME ウェブサイト https //otintin.world/ キャッシュサイト (*1)(*2) https //otintin.tki.jp/ 概要 NNLinuxは非常に軽量であることで知られており、通常版のNNLinuxはデスクトップ環境にXfceを採用しているが、LXDE並みのRAM使用量を実現している。 推奨されるRAMの容量は512MBだが、通常版で256MB程度、Lite(現在は非推奨)では64MBでも動作する。 RAM以外にも軽量化には非常にこだわって開発されており、USBメモリにインストールして利用してもストレスを感じることはない。 余計なタスクなどは可能な限り削減されているが、デスクトップ利用で不便に感じる様な削減は一切行われておらず、使い勝手のいいアプリケーションの数々がプリインストールされている。 2020年3月現在、デスクトップ環境をGNOMEに変更したGNOME Editionや、 Ubuntu派生 の Basix をベースにしたBasix Edition、Raspberry Pi向けのPi Editionなどが開発されている。 NNLinuxはLive CD環境、インストール直後から日本語入力に対応している。また、DebianをベースとしておりAPTが利用でき、Debianの豊富なパッケージが利用可能である。 リリース 主なリリースを以下に列挙する。(*3) 主なバージョン リリース日 主な変更点 Beta1 2019年4月29日 Debian sidをベースにした初回リリース版 Beta2 2019年5月3日 日本語化・内蔵ソフトウェアの追加 Pi Edition 2019年5月22日 Beta2をRaspberry Pi向けに移植したもの Web Edition 2019年7月3日 Web閲覧用に特化したエディション Beta3 2019年6月23日 Chromiumが起動できないバグの修正が加えられた Basix Edition 2019年7月9日 Ubuntuをベースとした新しいエディション。様々なドライバーが利用可能に Basix for 64bit 2019年7月16日 64bit対応。(Ubuntuベース) Beta5 2019年7月30日 Debian派生ディストリビューションではじめてCalamaresインストーラが採用された Beta6 2019年8月11日 ディスプレイマネージャ(ロック画面)がLightDMからGDM3へ変更された。インストーラにrootパスワードが設定可能に。複数ユーザーが使用可能になるよう改善された。 Lite Edition 2019年8月16日 軽量版エディション。デスクトップ環境にLXDEが採用された Beta7 2019年10月20日 OS全体の速度の改善。安定性と機能面の調整。ディスプレイマネージャ(ロック画面)のLightDMへの変更 64bit 2019年12月29日 Debian10をベースにした64bit対応版。インストーラにユーザーを削除する機能が追加された Beta9 2020年2月24日 DVDからの起動に対応。Windowsアプリケーションの利便性向上。自動ログインの対応。デスクトップのデバイスの表示の削除 。その他細かいバグ修正 GNOME Edition 2020年3月22日 ライブ環境でWi-Fiアダプタ.Bluetooth等の無線機器が認識可能に。デスクトップ環境をGNOMEに変更し美しい外観に変わった。Twitterのみでの配布。 Beta10 2020年5月3日 Wi-Fiやディスプレイ関連のドライバーをさらに追加、ショートカットキーに対応、Plymoothアニメーションの変更 、動作速度の向上。 派生Linuxディストリビューション NNLinuxをベースとして作られたLinuxディストリビューションが存在している。 Yellowleaflinux NN base editionNNLinuxBeta7をベースとしている。 MillenniumLinux Beta3NNLinux Beta7 をベースとしている。 プリインストールソフトウェア 以下のようなソフトウェアがプリインストールされている。 Chromium(ウェブブラウザ) LibreOffice(オフィススイート) GIMP(画像編集ソフト) Mozilla Thunderbird(メールクライアント) VLC Media Player(動画・DVD再生ソフト) SimpleScreenRecorder(画面録画ソフト) Wine(Windowsアプリケーションを実行) GNOME サウンドレコーダー(録音ソフト) YouTube関連動画 開発者本人によるインストール解説動画 |【最新】NNLinuxのインストール方法 PC-FREEDOMさんのインストール&レビュー動画 | 32bitパソコンにLinuxをインストールしてみよう!#2.NNLinux ナナッキーさんのインストール&レビュー動画 |【日本製Linux】NNLinuxの紹介〜XFCEなのにLXDE並の速さ〜 外部リンク NNLinux 公式ウェブサイト NNLinux キャッシュサイト NNLinux GNOME(開発者のツイート) 開発者のTwitter 脚注に記載されているウェブサイトへのリンク ツキコウ氏のツイート(2021/07/23) 竹林人間氏のツイート(2021/08/02) コメント欄 コメント欄の利用に関してはコメント欄の利用を参照して下さい。 本ページに無関係な内容のコメントは一律して削除されます。Wiki運営に関しては Wiki運営掲示板 にお願いします 。 投稿されているコメントへの返信の際は、必ず返信したいコメント横の○にチェックを入れて返信して下さい。 +上記の内容を守れる方のみご利用ください。 上記の内容を守れる方のみご利用ください。 test - nanashi (2020-05-02 00 44 23) test2 - test (2020-05-02 00 47 38) 名前 コメントログ
https://w.atwiki.jp/wikiprune/pages/31.html
メーカー 型番 PS/2の口数 2 参考URL http //pc.watanet.com/?p=362 不具合機種 動作確認済機種 Gateway M-6842j 動作 マウス 動作問題なし。 キーボード [\] [|] [_] [\(バックスラッシュ)] キー使用不可 変換・無変換、[カタカナひらがな|ローマ字] キー使用不可 テンキー数字入力不可 (パッケージ裏の説明文) The PS/2-USB adapter allows you to use your PS/2 Compatible mouse and keyboard as USB compatible Device. Now you can enjoy using your keyboard and Mouse connected the USB-PS/2 adapter as an USB compatible device. Features Compliant with USB HID spec. USB Bus Powered Fully compliant with PS/2 keyboard/mouse Support USB and PS2Plug and Play Also Support two PS2keyboard or two Mouse(2p model) Support Standard Windows Mulitmedia Keys Support Windows 98/SE/ME/200/XP and MacOS9.0/OSX/linux (↑FeaturesのMulitmediaはメーカー側によるMultimediaの誤植だと思われます。) /*16歳の素人目で見たものですからあまり参考にはしないで下さい。*/
https://w.atwiki.jp/kobapan/pages/327.html
Debian Jessie から使えるようになった、aptコマンド。これまでの、apt-get/apt-cacheコマンドを統合したような使い心地。 apt list - パッケージ名を基にパッケージの一覧を表示 apt search - パッケージの説明を検索 $ apt search ttf-kochi-* ソート中... 完了 全文検索... 完了 ttf-kochi-gothic/stable 20030809-15 all naga10 を除いた東風代替ゴシック日本語 TrueType フォント ttf-kochi-mincho/stable 20030809-15 all naga10 を除いた東風代替明朝日本語 TrueType フォント apt show - パッケージの詳細を表示 sudo apt install - パッケージをインストール $ sudo apt install ttf-kochi-* 以下のパッケージが新たにインストールされます ttf-kochi-gothic ttf-kochi-mincho 取得 1 http //ftp.jp.debian.org/debian/ jessie/main ttf-kochi-gothic all 20030809-15 [3,142 kB] 取得 2 http //ftp.jp.debian.org/debian/ jessie/main ttf-kochi-mincho all 20030809-15 [3,737 kB] sudo apt remove - パッケージを削除 sudo apt update - 利用可能パッケージの一覧を更新 sudo apt upgrade - パッケージをインストール/更新してシステムをアップグレード sudo apt full-upgrade - パッケージを削除/インストール/更新してシステムをアップグレード
https://w.atwiki.jp/dirtyface/pages/21.html
玄箱debian化の手順(玄箱無印で確認済み) ※まだ書きかけです!! 事前説明 ここで説明しているのはWindowsXPと玄箱無印で私が確認した内容です。 必ずしも同じ状況にならない可能性がありますので都度読み替えてください。 たとえ壊れても私は責任を持ちません。 また、viエディタの使い方などは別のページで調べてきてください。 事前準備 以下のソフトを準備してください。 FTPで接続するため、「FFFTP」をインストールして置くSota s Web Page telnetで接続するため、「UTF-8 Tera Term Pro with TTSSH2」をインストールして置く。窓の杜sourceforge.jp Project OSとなる「debian_2006_06_10_dist.tgz」をダウンロードして置く。玄箱うぉううぉう♪ debian化手順 前提条件=HDDを搭載済みの玄箱が正常に動いていること。 玄箱にアクセスし、共有フォルダ「share」にダウンロードしておいた[ 「debian_2006_06_10_dist.tgz」を置く。 玄箱にUTF-8 Tera Term Pro with TTSSH2(以後、Tera Term)でログインします。※パスワードは入力しても画面に出ませんがそれで正常です。 玄箱無印ログインID ユーザー名「root」 パスワード「kuro」 玄箱HGログインID ユーザー名「root」 パスワード「kuroadmin」 # cd /mnt/share 正常に実行されると以下のようになります。 /mnt/share# ファイルが見えているか確認します。 /mnt/share#ls 以下のように表示されれば問題ありません。 /mnt/share#ls debian_2006_06_10_dist.tgz /mnt/share# 玄箱の中でファイルを展開します。 /mnt/share#tar xzf debian_2006_06_10_dist.tgz 終わると以下の様な表示になります。 /mnt/share#tar xzf debian_2006_06_10_dist.tgz /mnt/share# 正常に展開されたか確認します。 /mnt/share# ls 以下のように表示されれば正常です。 /mnt/share# ls bin dev lib proc sys var boot etc lost+found root tmp debian-sarge-2.6.16.9-KUROBOX-20060422.tgz home mnt sbin usr /mnt/share# 展開前の元ファイルを削除する。 /mnt/share# rm debian-sarge-2.6.16.9-KUROBOX-20060422.tgz 設定ファイルを修正するためフォルダを移動する。 /mnt/share# cd /mnt/share/etc viエディタを起動して設定ファイルを編集します。 /mnt/share/etc# vi hostname EMモードに移行するにはTera Termで玄箱に接続して下記のコマンドを実行します。--玄箱無印ログインID ユーザー名「root」 パスワード「kuro」 玄箱HGログインID ユーザー名「root」 パスワード「kuroadmin」 #echo -n NGNG /dev/fl3 #reboot 玄箱が再起動してEMモードで起動します。 EMモードの時のIPアドレスは以下のように決定されます。 DHCPがあるときはそこからIPを自動取得 DHCPがないときは192.168.0.150が設定される- 自動取得された場合は、玄人志向のファームウェアアップデータで確認します。 192.168.0.150(PCと直接繋いでいる時等)は、PC側のアドレスも192.168.0.***にする必要があります。 玄人志向玄箱ページ 次のコマンドを実行してパーティーションをすべて削除します。 # /sbin/mfdisk -e /dev/hda 次にパーティーションを切り直します。 # sh /sbin/mkfilesystem.sh 通常モードへの移行方法 (EMモード解除) #echo -n OKOK /dev/fl3 #reboot 再起動すると通常モードで動作します。 玄箱記録
https://w.atwiki.jp/tuntun01/pages/8.html
Help installing Debian GNU/Linux Debian basic features Debian 初心者が Debian をコンピュータにインストールする前に知りたいと思うかもしれないようなことを教えます。(安定版)(作業中) How to download Debian GNU/Linux installation CD/DVDs with Jigdo A guide to help any Debian newbie to download CD and DVD images of the Debian installer. The disc images can be burned to CD or DVD to make official Debian installation CDs/DVDs. (Stable article.) How to install Debian GNU/Linux on your computer This HOWTO helps Debian newbies to install Debian GNU/Linux (Etch) using the graphical installer ("installgui"). (Stable article.) Installing Debian on a small partition How to install desktop Debian GNU/Linux 3.1 (Sarge) from CD/DVD. ((Stable article.) How to try out Debian GNU/Linux without installing it(作業完了) Debian 初心者 (Debian "newbie") は、Debian の選びかたについて手助けやアドバイスを求めたほうがいいかもしれません。 LiveCD 版 Debian - Debian Live の入手および利用方法をどうぞ。 Debian for complete computer newbies Stub article - contributions welcome. Help installing software in Debian GNU/Linux Aptitude - using together with Synaptic and Apt-get Help for Debian users using more than one package manager. If you do not use Aptitude exclusively, it may attempt to remove packages that you do not wish to remove. Here is some help for managing this problem. Unofficial Debian packages Where to find .debs for software not available on the Debian mirrors. Module-Assistant - using upstream tarballs A simple hack to use an upstream tarball with Debian s module-assistant for gspca-source Help managing a Debian system Commandline shortcuts Debian newbie help with tab completion, commandline history, copying and pasting text. Manage users and groups Brief newbie help about how to manage users and groups in Debian using Gnome, KDE, generic desktop and commandline tools. Run a program as a different user How to use su, gksu and gksuexec - a guide for Debian newbie users and others. How to configure Sudo to run programs as a different user A newbie guide to using Sudo in Debian GNU/Linux. A normal user can use Sudo to run particular programs with root permissions. Even a newbie can easily configure Sudo using a simple table as an alternative to the Extended Backus-Naur Form used in the Sudoers man (5) page. (Stable article.) How to create a Grub disc to boot a Debian GNU/Linux system How to be prepared for disaster by making a boot floppy or CD to boot your Debian system in case another operating system overwrites your MBR. Shutting down a Debian system Pressing the RESET button is the equivalent of pulling the plug - you are risking file corruption. Here is some help about how to shut down your Debian system safely. Cloning a hard disc This Debian newbie HOWTO explains how to make a clone of a hard disc. If the original hard disc is a failing disc, it must still be working and readable. (Stable article.) Runlevels introduction A guide to help Debian newbies to understand runlevels. Runlevels determine the behaviour of the system once it has booted. (Stable article.) Grep Introduction An introduction to help Debian newbies with the very useful grep program. (Stable article.) Process management Help for Debian newbies about how to manage processes under Debian GNU/Linux. (Stable article.) Debian help system This document is intended to help Debian newbies learn about ways in which they can find help to solve problems in Debian GNU/Linux. (Stable article.) Shortcuts for copying and pasting text Help with to copying and pasting text between X applications and console applications running in a terminal window. There are both keyboard and mouse methods. Written for Debian GNU/Linux. (Stable article.) Beginner s guide to Vi Improved (Vim) This document will help newbies with the console version of vim from Debian. Although much of what is discussed here will also apply to gvim, it may or may not work with gvim. (Stable article.) Using Joe as your editor Joe is a simple commandline editor apparently based upon/inspired by the old DOS word processor called Wordstar. Help for Debian newbies. (Stable article.) Synchronising laptop and desktop files using Unison If you have a Debian home network, you can edit files on one computer and use Unison to update another computer. This can help if you do work on a laptop away from the network for some of the time. (Stable article.) Help with network and internet Broadband - setting up an ethernet ADSL modem/router This help is for an ethernet ADSL modem/router on a Debian system, not a USB ADSL modem. Setting up a serial modem using Wvdial This newbie article explains how to install and use a serial modem for internet access on a Debian GNU/Linux computer using Wvdial. (Stable article.) How to set up a wireless network card using Ndiswrapper Both these articles offer help for setting up wireless cards on Debian systems. They are on the Ndiswrapper wiki. [http //ndiswrapper.sourceforge.net/mediawiki/index.php/InstallDebianSarge Installing Ndiswrapper in Debian Sarge] [http //ndiswrapper.sourceforge.net/mediawiki/index.php/InstallDebianEtch Installing Ndiswrapper in Debian Etch] Setting up a personal firewall on Debian using Guarddog Guarddog use a simple but flexible GUI interface to configure iptables. It is suitable for Debian newbies and makes a great personal firewall for a standalone or networked PC. (Stable article.) Firewall with masquerading A HOWTO to help you to set up a simple firewall and share your internet connection with Shorewall in Debian Etch Installing Samba Linux/Windows networking These are some notes I made when I installed Samba in Debian Sarge. Mail - retrieving How to retrieve mail from a POP account using Getmail (this article is work in progress) Mail - sending How to send mail using Postfix with smarthost configuration Mail - sorting and filtering How to sort and filter your mail with Maildrop (this article is work in progress) Using RSS|RSS - how to use RSS feeds How to install Liferea (Linux feed reader) in Debian and help with using it on the NewbieDOC wiki. WWW Clients in Debian Firefox (Iceweasel) Opera Lynx Elinks Help with office applications Installing Adobe Reader|Installing Adobe Reader (Acrobat) Adobe Reader is non-Free software, so there is no official Debian package Help with multimedia in Debian Sound in Debian GNU/Linux How to get a sound card working in Debian. Managing a Creative Zen mp3 jukebox with Gnomad2 Gnomad2 transfers files to and from a Creative Zen mp3 jukebox. Help with printing Setting up a parallel printer using CUPS This article explains how to install a parallel port printer on a Debian GNU/Linux computer using CUPS (the Common Unix Printing System). (Formal article). Help with programming Installing Java Java is non-Free software, so there is no official Debian package -
https://w.atwiki.jp/hanieko/pages/21.html
Debian Linuxのディストリビューションのひとつ Debian系について
https://w.atwiki.jp/tshrwiki/pages/16.html
TODO 下準備 debianインストール バックアップからの復旧 SSMTPインストール hotmail → hotway → fetchmail → procmail → ssmtp → gmail TODO ddclient で動的IPアドレスでも固定的アクセス SSH で SSH トンネル(For VNC) アンチウィルスソフト clamav Samba + lpd でプリンタサーバ Apache + mrtg(rrd) + snmp でトラフィック監視 Webカメラ 下準備 必要ファイルdebian_2006_06_10_dist.tgz kernelimage-2.6.20-kuroBOX.tgz modules-2.6.20-kuroBOX.tgz ↑ここまでは必須 debianインストール 2007.03.22 作成 玄箱 EMモードにする。# echo -n "NGNG" /dev/fl3 # echo -n "NGNG" /dev/mtdblock2 # sync # sync # reboot 割り当てアドレスを確認する。DHCPクライアントモードで起動するのでDHCPサーバよりどのアドレスが振られたかを確認する。ホスト名は「KURO-BOX-EM」が設定されている。 192.168.1.108 telnetでログインする。ユーザ/パスワードはroot/kuro。 ファイルシステムを作成する。# mke2fs -j /dev/hda1 ファイルシステムをマウントする。# /bin/mount -t ext3 /dev/hda1 /mnt # /bin/mount -t ext3 /dev/hda3 /mnt2 debian化アーカイブを展開する。# cd /mnt # tar xvzf /mnt2/debian_2006_06_10_dist.tgz 設定ファイルのいくつかをコピーしておく。# cd /mnt2 # cp interfaces /mnt/etc/network/ # cp hosts /mnt/etc/ # cp hosts.allow /mnt/etc/ # cp resolv.conf /mnt/etc/ # cp sources.list /mnt/etc/apt/↑でエラー → ファイル無し。 EMモードから抜けて再起動する。# echo -n OKOK /dev/fl3 # reboot telnetでログインする。ユーザ/パスワードはtmp-kun/tmp-kun。 rootのパスワードを変更する。$ su - ↑ パスワードはroot。 # passwd root ユーザアカウントを作成する。# adduser ユーザアカウントを設定して、パスワードを設定して、後は何も無しで最後にyで終わり。 デフォルトのユーザアカウントtmp-kunを削除する。一度全て、ログアウトして、再度、telnetでログインする。 ユーザ/パスワードは先ほど作ったもの。 $ su - # deluser --remove-home tmp-kun とりあえずアップデートする。# apt-get update # apt-get dist-upgrade 途中で聞かれる質問は全てデフォルトでOK。 eximの設定は5を選択する。 ProFTPdが立ち上がらないとか言っているような気がするが気にしない。 使うソフトウェアのインストールする。# apt-get install ntpdate ssh sudo vim logwatch wget ntp-simple sshは全てデフォルトでOK。eximが設定されてなくてなんかエラーを吐いているが気にしない。 時刻あわせをする。# /etc/init.d/ntp-server stop # ntpdate ntp.jst.mfeed.ad.jp # cp /mnt/ntp.conf /etc/ # /etc/init.d/ntp-server start sshdの設定をする。# cp /mnt/sshd_config /etc/ssh/ # /etc/init.d/ssh restart sudoの設定をする。# visudo [username][TAB]ALL=(ALL) NOPASSWD ALL kernelを2.6系に変更する。# cd /boot # tar xvfz /mnt/kernelimage-2.6.20-kuroBOX.tgz # sync # sync # reboot カーネルモジュールのインストール# apt-get install module-init-tools # cd /lib/modules # tar xvfz /mnt/modules-2.6.20-kuroBOX.tgz # depmod -a # sync # sync # reboot ここまでの状態をバックアップしておく。EMモードでバックアップする。# echo -n "NGNG" /dev/mtdblock2 ↑ kernel 2.6系のときのみ # sync # sync # reboot telnetでログインする。IPアドレスはDHCPよりリースされたものなので注意。 ユーザ/パスワードはroot/kuro。 # mount /dev/hda1 /mnt # mount /dev/hda3 /mnt2 # cd /mnt # tar cvf /mnt2/backup20070322.tar . ↑ 最後の「.」(ドット)を忘れないように。 # echo -n "OKOK" /dev/fl3 # sync # sync # reboot telnetでログインする。 $ su - # gzip /mnt/backup20070322.tar 完了。 バックアップからの復旧 EMモードにする。$ su - # echo -n "NGNG" /dev/fl3 # echo -n "NGNG" /dev/mtdblock2 # sync # sync # reboot telnetでログインする。ユーザ/パスワードはroot/kuro。 ファイルシステムを作成する。# mke2fs -j /dev/hda1 ファイルシステムをマウントする。# /bin/mount -t ext3 /dev/hda1 /mnt # /bin/mount -t ext3 /dev/hda3 /mnt2 バックアップしたアーカイブを展開する。# cd /mnt # tar xvfz /mnt2/backup.tar.gz ↑ ファイル名は実際のバックアップしたファイル名にする。 EMモードから抜けて再起動する。# echo -n "OKOK" /dev/fl3 # sync # sync # reboot SSMTPインストール ここからはまだ未完成。 $ su - # apt-get install ssmtp ↑ exim のアンインストールも同時に行われる。 # cd /etc/ssmtp/ # mv ssmtp.conf ssmtp.conf.20070324 # mv revaliases revaliases.20070324 # vi ssmtp.conf # vi revaliases hotmail → hotway → fetchmail → procmail → ssmtp → gmail hotmailに転送機能さえあればいらないのに。